package xyz.zhouzhaodong.crm.service;

import com.baomidou.mybatisplus.extension.service.IService;
import xyz.zhouzhaodong.crm.dto.BusinessIncomeDto;
import xyz.zhouzhaodong.crm.dto.FormDto;
import xyz.zhouzhaodong.crm.entity.BusinessIncome;
import xyz.zhouzhaodong.crm.util.RestMessage;

/**
 * <p>
 * 营业收入 服务类
 * </p>
 *
 * @author zhouzhaodong
 * @since 2020-07-03
 */
public interface IBusinessIncomeService extends IService<BusinessIncome> {

    /**
     * 新增营业收入
     * @param businessIncome
     * @return
     */
    RestMessage addBusinessIncome(BusinessIncome businessIncome);

    /**
     * 删除营业收入
     * @param businessIncome
     * @return
     */
    RestMessage deleteBusinessIncome(BusinessIncome businessIncome);

    /**
     * 修改营业收入
     * @param businessIncome
     * @return
     */
    RestMessage updateBusinessIncome(BusinessIncome businessIncome);

    /**
     * 查询营业收入
     * @param businessIncomeDto
     * @return
     */
    RestMessage selectBusinessIncome(BusinessIncomeDto businessIncomeDto);

    /**
     * 汇总显示
     * @param formDto
     * @return
     */
    RestMessage selectCustomerForm(FormDto formDto);
    
}
